wayland: Plug surface leak
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 24 Nov 2015 16:41:58 +0000 (17:41 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 24 Nov 2015 19:52:12 +0000 (20:52 +0100)
commitd62febcf97581528398f79e8094eb26f8461b315
tree75a39b859e6bef5c3d1e6acbc85c3ad1e6e3f013
parent0ff879e975a59b29ce7bebb456bc8c20b3c0b076
wayland: Plug surface leak

Other backends take care of the cairo surface destruction in
GdkWindow::destroy. We must do the same here, or the cairo_surface
and its corresponding wl_buffer are left dangling.

https://bugzilla.gnome.org/show_bug.cgi?id=747295
gdk/wayland/gdkdisplay-wayland.c
gdk/wayland/gdkwindow-wayland.c